********************************************************
*													   *
*			3_mechanism_encyclopedie_app.do	           *
*													   *
********************************************************

/*  ================================  NOTES  ================================

+ PURPSOSE:
	
	In this do-file we create Figure A.9 (evidence on codified knowledge)

		
+ Inputs: 

	* encyclopedie_plates.dta
		
==============================  TOP MATTER ==============================*/
	

	*set paths
	global proc_data "`pdir'/data"
	global outputs "`pdir'/outputs/appendix"

********************************** END HEADER **********************************	

use "$proc_data/encyclopedie_plates.dta", clear


* 2. Figure A.9.
******************************


graph bar organization tech, over(sectors) ytitle("Number of Plates", size(large)) /// 
	yscale(range(0 12)) ylabel(0(2)12, labsize(medlarge) nogrid) b1title("Sector") ///
	intensity(70) asyvars bar(1, color(navy)) bar(2, color(gs7)) ///
	legend(position(0) bplacement(neast) rows(2) label(1 "Plant Organization") ///
	label(2 "Production Technology"))  scheme(s1color) 

* for the folder
graph export "$outputs/Figures/Figure_A9.png", replace
graph export "$outputs/Figures/Figure_A9.pdf", replace
graph export "$outputs/Figures/Figure_A9.eps", replace	


	
	
